﻿using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;
using Huirui.Cavan.Domain.MainBoundedContext.SystemModule;
using Huirui.Cavan.Presentation.Seedwork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Huirui.Cavan.Presentation.ViewModel.SystemModule
{
    public class SystemConfigViewModel : EntityModel<SystemConfig, int, SystemConfigSearch>, ISystemConfigViewModel
    {
        public SystemConfigJsonViewModel SystemConfigs { get; set; }
    }

    public class SystemConfigJson
    {
        public int ID { get; set; }
        public int Type { get; set; }
        public string StrType { get; set; }
        public string Item { get; set; }
        public string Value { get; set; }
        public string Remark { get; set; }
        public int DataType { get; set; }
        public string Description { get; set; }
    }

    public class SystemConfigJsonViewModel : JsonViewModel<SystemConfigJson>
    { 

    }
}
